﻿<?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.evolutility.com" title="生产日报" icon="cube.gif" description="">
  <data dbtable="MRP_DailyProduce" splogin="asp.net membership" dbcolumnpk="ID"  sppaging="EvoSP_PagedItem @SQLselect, @SQLtable, @SQLfrom, @SQLwhere, @SQLorderby, @SQLpk, @pageid, @pagesize" />
  <panel userid="1" ppos="1" label="日生产任务单" width="100">
    <field id="1146" type="lov" typeid="5" label="产品名称" dbcolumn="ProductID" dbcolumnread="Name" dbcolumnreadlov="Name" dbwherelov="MRP_MaterialMain.MType=5" dbtablelov="MRP_MaterialMain" maxlength="2" readonly="1" required="1" optional="" fpos="20" search="1" searchadv="1" searchlist="1" height="1" width="20" />
    <field id="1153" type="date" typeid="17" label="下单时间" format="{0:d}" defaultvalue="_now" dbcolumn="ProduceDate" dbcolumnread="ProduceDate" maxlength="4" readonly="1" required="1" optional="" fpos="30" search="1" searchadv="1" searchlist="1" height="1" width="20" />
    <field id="1247" type="integer" typeid="10" label="数量" dbcolumn="Quantity" dbcolumnread="Quantity" maxlength="6" readonly="1" required="1" optional="" fpos="30" search="1" searchadv="1" searchlist="1" height="1" width="20" />
    <field id="1348" type="integer" typeid="10" label="分筐" dbcolumn="Batch" dbcolumnread="Batch" maxlength="6" readonly="1" required="1" optional="" fpos="30" search="1" searchadv="1" searchlist="1" height="1" width="20" />
    <field id="1434" type="lov" typeid="5" label="状态" dbcolumn="Status" dbcolumnread="DPStatus"
dbtablelov="View_Order_Status_List" dbcolumnreadlov="DisplayText" maxlength="0" readonly="1" required="0" optional="" fpos="30" search="0" searchadv="1" searchlist="1" height="1" width="15" />
  </panel>
  <panel-details panelid="2" dbtabledetails="MRP_DailyReport" dbmaxrow="6" dbcolumndetails="DailyProduceID" label="生产日报">
    <field id="85" panelid="2" type="text" typeid="5" label="分框编码" dbcolumn="BatchCode" dbcolumnread="BatchCode" maxlength="64" readonly="0" required="1" optional="" fpos="10" search="1" searchadv="1" searchlist="1" height="1" width="15" />
    <field id="149" panelid="2" type="date" typeid="17" label="生产日期" format="{0:d}" defaultvalue="_now" dbcolumn="ProduceDate" dbcolumnread="ProduceDate" maxlength="4" readonly="0" required="" optional="" fpos="50" search="1" searchadv="1" searchlist="1" height="1" width="15" />
    <field id="155" panelid="2" type="lov" typeid="5" label="工序名称" dbcolumn="ProcessType" dbcolumnread="DisplayText"
   dbtablelov="View_ProcessName_List" dbcolumnreadlov="DisplayText" maxlength="0" readonly="0" required="1" optional="" fpos="30" search="0" searchadv="1" searchlist="0" height="1" width="10" />
    <field id="147" panelid="2" type="integer" typeid="10" label="数量" dbcolumn="ProduceQuantity" dbcolumnread="ProduceQuantity" maxlength="8" readonly="0" required="1" optional="" fpos="30" search="1" searchadv="1" searchlist="1" height="1" width="10" />
    <field id="148" panelid="2" type="integer" typeid="10" label="不良品数量" dbcolumn="DefectiveQuantity" dbcolumnread="DefectiveQuantity" maxlength="8" readonly="0" required="1" optional="" fpos="30" search="1" searchadv="1" searchlist="1" height="1" width="10" />
    <field id="149" panelid="2" type="integer" typeid="10" label="返修数量" dbcolumn="ReworkQuantity" dbcolumnread="ReworkQuantity" maxlength="8" readonly="0" required="1" optional="" fpos="30" search="1" searchadv="1" searchlist="1" height="1" width="10" />
    <field id="141" panelid="2" type="integer" typeid="10" label="报废数量" dbcolumn="RejectQuantity" dbcolumnread="RejectQuantity" maxlength="8" readonly="0" required="1" optional="" fpos="30" search="1" searchadv="1" searchlist="1" height="1" width="10" />
    <field id="150" panelid="2" type="boolean" typeid="10" label="状态" dbcolumn="IsCompleted" dbcolumnread="IsCompleted" maxlength="2" readonly="0" required="" optional="" fpos="60" search="1" searchadv="1" searchlist="" height="1" width="5" />
    <field id="152" panelid="2" type="textmultiline" typeid="6" label="备注" dbcolumn="Notes" dbcolumnread="Notes" maxlength="0" readonly="0" required="" optional="" fpos="80" search="1" searchadv="1" searchlist="" height="3" width="15" />
  </panel-details>

</form>
